function DaoFactory(){
	
}
//static
DaoFactory.getInstance = function( code ){
	dao = null;
	switch( code ){
		case "srfBetDAO":
			dao = new SrfBetDAO();
			break;
		case "SrfBetDAONoLocalStorage":
			dao = new SrfBetDAONoLocalStorage();
			break;
		default:
	}
	return dao;
}